//
//  BlockPrtyMainView.h
//  blockprty
//
//  Created by Alex Shepard on 7/16/11.
//  Copyright 2011 Eye-Fi. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <MapKit/MapKit.h>
#import <Rdio/Rdio.h>

@class ScrollWheelView;

@interface BlockPrtyMainView : UIViewController <MKMapViewDelegate, RdioDelegate> {
	IBOutlet MKMapView *myMapView;
	IBOutlet UILabel *trackInfoLabel;
	IBOutlet UIButton *playButton;
	IBOutlet UIButton *pauseButton;
	IBOutlet UIButton *authorizeRdioButton;
	IBOutlet UISlider *volumeSlider;
	IBOutlet UISlider *mapScaleSlider;
	Rdio *rdio;
	NSString *songToPlay;
	NSString *artist;
	NSString *trackTitle;
	NSString *trackKey;
	
	BOOL rdioIsAuthorized;
}

- (void)playTrack:(id)track;

- (IBAction)playButtonWasPressed:(id)sender;
- (IBAction)pauseButtonWasPressed:(id)sender;
- (IBAction)authorizeRdioButtonWasPressed:(id)sender;

@property (retain) NSString *songToPlay;

@end
